package com.sg.dto.integration.framework;

import com.sg.common.dto.BaseDto;
import com.sg.dto.integration.framework.PostGradesDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @desc BatchUpdateGradeScopeReqDto
 * @使用场景
 */
@Data
public class BatchUpdateGradeScopeReqDto
        extends BaseDto
        implements Serializable {

    @ApiModelProperty("岗位等级列表")
    private List<PostGradesDto> postGradesList = new ArrayList<>();

    /**
     * 归属对象实例ID
     */
    @NotNull(message = "归属对象实例ID不能为空")
    @ApiModelProperty("归属对象实例ID")
    private String entityId;

    /**
     * 批次ID
     */
    @NotNull(message = "批次ID不能为空")
    @ApiModelProperty("批次ID")
    private String batchId;

    /**
     * 当前步骤ID
     */
    @ApiModelProperty("当前步骤ID")
    private String stepNameId;

}
